package exam;

import java.io.*;
import java.util.StringTokenizer;

public class test4 {
    public static PrintWriter out=new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));



    public static void main(String[] args) {


    }

    class Read{
StringTokenizer st=new StringTokenizer("");

BufferedReader bf=new BufferedReader(new InputStreamReader(System.in));

String next()throws IOException {
    while(!st.hasMoreTokens()){
        st=new StringTokenizer(bf.readLine());
    }
    return st.nextToken();
}

String nextLine()throws IOException{
    return bf.readLine();
}

int nextInteger()throws IOException{
    return Integer.parseInt(next());
}

double nextDouble()throws IOException{
    return Double.parseDouble(next());
}

long nextLong()throws IOException{
    return Long.parseLong(next());
}

    }

}
